package com.company.project.service;
import com.company.project.core.Service;
import com.company.project.model.TradeGoods;
import com.company.project.protocol.goods.*;


/**
 * Created by CodeGenerator on 2018/12/07.
 */
public interface TradeGoodsService extends Service<TradeGoods> {

    // 当前商品库存的数量
    public QueryGoodsRes queryGoods(QueryGoodsReq queryGoodsReq);

    // 减库存
    public ReduceGoodsNumberRes reduceGoodsNumber(ReduceGoodsNumberReq reduceGoodsNumberReq);

    // 加库存
    public AddGoodsNumberRes addGoodsNumber(AddGoodsNumberReq addGoodsNumberReq);


//    public boolean addGoodsNumberMsg(String groupNanme,String keys,String tag,String body,String msgId);
}
